package com.hundsun.yr.universal.p2p.bean;

import java.math.BigDecimal;

/**
 * 借款人基本工作信息
 * @author tonglj
 *
 */
public class BorrowerJobInfo {
	/**
	 * 工作城市
	 */
	private String cityName;
	/**
	 * 年收入
	 */
	private BigDecimal annualIncome;
	/**
	 * 职业
	 */
	private String position;
	
	/**
	 * 学历
	 */
	private String educationBackground = "";
	
	public String getCityName() {
		return cityName;
	}
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	public BigDecimal getAnnualIncome() {
		return annualIncome;
	}
	public void setAnnualIncome(BigDecimal annualIncome) {
		this.annualIncome = annualIncome;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	
	public String getEducationBackground() {
		String result = "";
		if("POSTGRADUATE_AND_UP".equals(educationBackground)){
			result =  "研究生及以上";
		}else if("UNDERGRADUATE".equals(educationBackground)){
			result =  "本科";
		}else if("JUNIOR_COLLEGE_EDUCATION".equals(educationBackground)){
			result = "专科";
		}else if("HIGH_SCHOOL".equals(educationBackground)){
			result =  "高中";
		}else if("MIDDLE_SCHOOL_AND_DOWN".equals(educationBackground)){
			result = "初中及以下";
		}
		return result;
	}
	public void setEducationBackground(String educationBackground) {
		this.educationBackground = educationBackground;
	}
	


}
